cur_folder=$(shell pwd)

#INCDIRS += \
		$(cur_folder)
#INCLUDE	+=	$(patsubst %, -I %, $(shell pwd))

CFILES			:=  $(wildcard *.c)
CPLUSPLUSFILES			:= $(wildcard *.cpp)

COBJS :=$(patsubst %.c, $(obj_folder)/%.o,$(wildcard *.c))
CPLUSPLUSOBJS :=$(patsubst %.cpp, $(obj_folder)/%.o,$(wildcard *.cpp))
objs+=		\
	$(COBJS)  $(CPLUSPLUSOBJS)

start:$(objs)
$(obj_folder)/%.o:%.c
	$(complier)	$(CFLAGS) $(INCLUDE)    -c  $<  -o $@ 
$(obj_folder)/%.o:%.S
	$(complier)  $(CFLAGS) $(INCLUDE)	-c $<   -o $@ 
$(obj_folder)/%.o:%.cpp
	$(cpp_complier)  $(CPPFLAGS) $(INCLUDE)	   -c $<  -o $@ 
